<ui:composition  xmlns:h="http://java.sun.com/jsf/html"
                 xmlns:f="http://java.sun.com/jsf/core"
                 xmlns:ui="http://java.sun.com/jsf/facelets"
                 xmlns:p="http://primefaces.org/ui" >

    <h:form>
        <p:menu style="width:200px;" >  

            <p:submenu label="Cliente">  
                <p:menuitem value="Cadastrar" actionListener="#{managerIndex.redirect('criarPessoa.xhtml')}"
                            update="@form" icon="ui-icon-plusthick"/>  
                <p:menuitem value="Pesquisar" update="@form"
                            actionListener="#{managerConsultarPessoa.redirect('buscarPessoa.xhtml')}" icon="ui-icon-search"/> 
            </p:submenu>
           
        </p:menu>  

    </h:form>
</ui:composition>
